import Router from 'koa-router'
import demoController from '../api/demoController'
const router = new Router()
// 接口前缀
router.prefix('/public')
// 演示接口
router.get('/demo', demoController.demo)
router.get('/get', demoController.getter)
router.post('/post', demoController.poster)
export default router